import 'package:equatable/equatable.dart';
import 'package:flutter_scan_tool/models/tool.dart';

class ToolState extends Equatable {
  @override
  List<Object?> get props => [];
}

class ToolLoadProgress extends ToolState {
  @override
  List<Object?> get props => [];
}

class ToolLoadSuccess extends ToolState {
  final List<ToolData> toolList;

  ToolLoadSuccess(this.toolList);

  @override
  List<Object?> get props => [toolList];
}

class ToolLoadFail extends ToolState {
  @override
  List<Object?> get props => [];
}
